package com.carkeeper.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author: chaolumen
 * @date ：Created in 2020/5/26
 * @description ：评价的实体类
 * @version: 1.0
 */

@Data
@Document(collection = "orderAppraisal")
public class MAppraisalPO {
    @Id
    private String id; //评价id
    private Long orderId; //订单id
    private Long storeId; //门店id
    private String storeType; //类别;1汽修厂, 2配件商
    private String storeSimpleName; //门店名称
    private Long serviceClassId; //服务分类id
    private String serviceClassName; //服务分类名称
    private LocalDateTime orderCreateTime; //订单时间
    private String orderCode; //订单编号
    private Long customorId; //客户id
    private String customorName; //客户名称
    private BigDecimal scoreQulity; //质量评分
    private BigDecimal scoreTransform; //物流评分
    private BigDecimal scoreStore; //商家态度评分
    private String serviceItems; //服务项目
    private BigDecimal serviceCost; //服务费用
    private String content; //评价详情
    private LocalDateTime createTime; //创建时间
    private String imgUrl; //图片地址
}
